package com.qidian.by.cart.pojo;

import com.qidian.by.cart.vo.SpeVO;

import java.util.List;

/**
 * 购物车条目的实体类
 */
public class CartItem{
    private Long itemId; 
    private String itemTitle;
    private String image;// 一张图片地址
    private Long itemPrice;
    private Integer count; // 购买数量
    private Integer total;// 小计
    private List<SpeVO> spes;

    public List<SpeVO> getSpes() {
        return spes;
    }

    public void setSpes(List<SpeVO> spes) {
        this.spes = spes;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemTitle() {
        return itemTitle;
    }

    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Long getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(Long itemPrice) {
        this.itemPrice = itemPrice;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}